#include "mainwindow.h"

#include <QApplication>
#include<QFile>
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    MainWindow w;

    QFile file(":/qss/styles.qss");
    if(file.open(QFile::ReadOnly|QFile::Text))
    {
        QString styleSheet=QString::fromUtf8(file.readAll());
        w.setStyleSheet(styleSheet);
        file.close();
    }

    w.show();
    return a.exec();
}
